package com.kaliterre.kalidroid.entity;

/**
 * @author FIL A2 - Alyssa Boucher, Maxime Bureau, Yohan Mercier, Nicolas Mortier, Zakaria Oualkadi.
 *
 */
public class BatteryLog {
	
	private int id;
	private String date;
	private String event;
	private String batteryLevel;
	private String volts;
	private String temperature;
	private String status;
	
	public BatteryLog(){}
	
	public BatteryLog(String p_date, String p_event, String p_batteryLevel, String p_volts, String p_temperature, String p_status)
	{
		this.date = p_date;
		this.event = p_event;
		this.batteryLevel = p_batteryLevel;
		this.volts = p_volts;
		this.temperature = p_temperature;
		this.status = p_status;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getBatteryLevel() {
		return batteryLevel;
	}

	public void setBatteryLevel(String batteryLevel) {
		this.batteryLevel = batteryLevel;
	}

	public String getVolts() {
		return volts;
	}

	public void setVolts(String volts) {
		this.volts = volts;
	}

	public String getTemperature() {
		return temperature;
	}

	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}
	
	public String toString() {
		return "Battery log : id : " + this.id + ", date : " + this.date + ", event : " + this.event + ", level : " + this.batteryLevel + ", volts : " + this.volts + ", temperature : " + this.temperature;
	}
}
